    



<form class="form-horizontal" method=post action="<?php echo base_url() ?>utilisateur/CreateTache">
    <input type="text" name="TSK_LIB" >

    <select name="FK_USR">
         <?php
            foreach ($LesUsers as $value){
                echo" <option value='".$value->PK_USR."'>".$value->USR_name."</option>";
            };
        ?>
    </select> 


    <select name="FK_ITM">
        <?php
            foreach ($LesItems as $value){
                echo" <option value='".$value->PK_ITM."'>".$value->ITM_LIB."</option>";
            };
        ?>
    </select> 


    <input type="date" name="TSK_start_hour_plan" >
    <input type="date" name="TSK_end_hour_plan" >
    <input type="submit" value="Valider">
</form>
